#shapes

"""
A collection of function for printing basic sharps
"""

CHAR = '*'
def rectangle(height,width):
    """ Prints a rectangle"""
    for row in range(height):
        for col in range(width):
            print(CHAR,end = '')
        print()

def square(side):
    """Printing a square"""
    rectangle(side,side)

def tiangle(height):
    """printing a tiangle"""
    for row in range(height):
        for col in range(1,row + 2):
            print(CHAR,end = '')
        print()
